/*    */ package net.gxf.java2dgame.tetris;
/*    */ 
/*    */ import java.awt.BorderLayout;
/*    */ import java.awt.Color;
/*    */ import javax.swing.JFrame;
/*    */ import javax.swing.JLabel;
/*    */ import javax.swing.JPanel;
/*    */ 
/*    */ public class Tetris extends JFrame
/*    */ {
/*    */   private JLabel statusbar;
/*    */ 
/*    */   public Tetris()
/*    */   {
/* 19 */     this.statusbar = new JLabel(" 0");
/* 20 */     JPanel state = new JPanel(new BorderLayout());
/* 21 */     state.setBackground(Color.GRAY);
/* 22 */     this.statusbar.setBackground(Color.BLACK);
/* 23 */     state.add(this.statusbar, "South");
/* 24 */     add(state, "South");
/* 25 */     Board board = new Board(this);
/* 26 */     add(board);
/* 27 */     board.start();
/*    */ 
/* 29 */     setSize(200, 400);
/* 30 */     setTitle("Tetris");
/* 31 */     setDefaultCloseOperation(3);
/*    */   }
/*    */ 
/*    */   public JLabel getStatusBar() {
/* 35 */     return this.statusbar;
/*    */   }
/*    */ 
/*    */   public static void main(String[] args)
/*    */   {
/* 40 */     Tetris game = new Tetris();
/* 41 */     game.setLocationRelativeTo(null);
/* 42 */     game.setVisible(true);
/*    */   }
/*    */ }

/* Location:           C:\DBDownload\lwjglDemo2\lwjglDemo2\Run.jar
 * Qualified Name:     com.java2dgame.tetris.Tetris
 * JD-Core Version:    0.6.2
 */